<h2>Register</h2>
<? $i = 1; ?>
<div class="section">
	<form method="post" action="<?=url('users','register')?>">
		<dl>		
			<dt>Display Name</dt>
			<dd class="required"><input type="text" name="display_name" maxlength="50" tabindex="<?=$i++?>" value="<?=$_POST['display_name']?>" /></dd>			
			
			<?=element_view('form_error')->render($scope, array('field'=>'display_name'))?>
			
			<dt>Website</dt>
			<dd><input type="text" name="website" maxlength="50" tabindex="<?=$i++?>" value="<?=$_POST['website']?>" /></dd>
			<?=element_view('form_error')->render($scope, array('field'=>'website'))?>
			
			<dt>Email</dt>
			<dd class="required"><input type="text" name="email" maxlength="150" tabindex="<?=$i++?>" value="<?=$_POST['email']?>" /></dd>
			<?=element_view('form_error')->render($scope, array('field'=>'email'))?>
			
			<dt>Password</dt>
			<dd class="required"><input type="password" name="password" tabindex="<?=$i++?>" value="<?=$_POST['password']?>" /></dd>
			<?=element_view('form_error')->render($scope, array('field'=>'password'))?>
		</dl>
		<br />
		<center>
			<input type="submit" value="Register me so I can post!" tabindex="<?=$i++?>" />
		</center>
	</form>
</div>